import Layout from '@/layout'

const userRouter = {
  path: '/user',
  component: Layout,
  redirect: '/user/general_user',
  name: 'Dashboard',
  meta: {
    title: '회원관리',
    icon: 'el-icon-menu'
  },
  alwaysShow: true,
  children: [{
    path: '/general_user',
    component: () => import('@/views/user/general_user'),
    name: 'general_user',
    meta: {
      title: '개인회원',
      icon: 'el-icon-user'
    }
  }, {
    path: '/company_user',
    component: () => import('@/views/user/company_user'),
    name: 'company_user',
    meta: {
      title: '기업회원',
      icon: 'el-icon-office-building'
    }
  }, {
    path: '/coach_user',
    component: () => import('@/views/user/coach_user'),
    name: 'coach_user',
    meta: {
      title: '코치',
      icon: 'el-icon-user'
    }
  }]
}
export default userRouter
